]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dateMenu: add a style class for the clock label
authorJonh Wendell <jonh.wendell@intel.com>
Wed, 7 Aug 2013 18:35:56 +0000 (15:35 -0300)
committerJonh Wendell <jonh.wendell@intel.com>
Thu, 8 Aug 2013 18:29:39 +0000 (15:29 -0300)
it's useful if we need to tweak only the clock's label css.

https://bugzilla.gnome.org/show_bug.cgi?id=705634

js/ui/dateMenu.js

index 85a0aded16d94bda24ae7f7e7081c136de26b655..3898606796c9dce1e63c3f77609fd942ab29ef03 100644 (file)
@@ -51,6 +51,7 @@ const DateMenuButton = new Lang.Class({
 
         this._clockDisplay = new St.Label();
         this.actor.add_actor(this._clockDisplay);
+        this.actor.add_style_class_name ('clock-display');
 
         hbox = new St.BoxLayout({name: 'calendarArea' });
         this.menu.addActor(hbox);